var arr = [];

function duraDiff(sml, lng) {
  var argar = sml.split(":");
  var arg2ar = lng.split(":");

  var tSml =
    parseInt(argar[0]) * 3600 + parseInt(argar[1]) * 60 + parseInt(argar[2]);
  var tLng =
    parseInt(arg2ar[0]) * 3600 + parseInt(arg2ar[1]) * 60 + parseInt(arg2ar[2]);

  var diff = tLng - tSml;
  return formatSeconds2Stamp(diff);
}

function formatSeconds2Stamp(seconds) {
  var h = parseInt(seconds / 3600);
  var m = parseInt((seconds - h * 3600) / 60);
  var s = seconds - (h * 3600 + m * 60);

  return `${h > 10 ? h : "0" + h}:${m > 10 ? m : "0" + m}:${
    s > 10 ? s : "0" + s
  }`;
}
[
  "00:00:00-Paul Haslinger-A Wolf in Unix-Halt and Catch Fire-",
  "00:01:13-Carbon Based Lifeforms-Tensor (Edit)-",
  "00:07:01-Dominic Lewis-Bear Market-Money Monster-",
  "00:08:25-The Chemical Brothers-Car Chase (Arp Worship) (Edit)-Hanna-",
  "00:11:56-Trent Reznor and Atticus Ross-Pieces Form the Whole-The Social Network-",
  "00:15:54-Sascha Dikiciyan-Dr. Koller-Deus Ex: Mankind Divided-",
  "00:19:17-Edward Shearmur-Taxi Ride-K-PAX-",
  "00:23:02-Daniel Pemberton-Jack It Up (Edit)-Steve Jobs-",
  "00:26:46-Feeding Ear-Outrun The Wolves-Hacknet-",
  "00:32:25-Dominic Lewis-Human Error-Money Monster-",
  "00:34:22-The Crystal Method featuring Matt Lange & Justin Chancellor-Cabin Pressure-",
  "00:39:19-David Holmes-No Man's Land (Edit)-",
  "00:45:35-Chris Nelsen-Untitled 4-Chaos Overlords-",
  "00:49:57-Those Guys-Running With Scissors (Edit)-",
  "00:54:05-DeeperNET-Mystic Division-",
  "00:58:52-Spacetime Continuum-A Low Frequency Inversion Field (Edit)-",
  "01:00:42-Chris Zippel (a.k.a. Genuine)-Deep Draw-",
  "01:08:31-Ramin Djawadi-Niet Nog Een Keer Leon-Person Of Interest: Season 2-",
  "01:10:08-Steven Price-In The Blind-Gravity-",
  "01:11:37-Hybrid-Hooligan-",
  "01:14:58-The Crystal Method-The Drive Inside-",
  "01:18:32-Ray Harman-112 AU From The Sun-The Farthest: Voyager In Space-",
  "01:21:50-Paul Haslinger-The Scenic Route-Halt and Catch Fire-",
  "01:23:32-Photek-Munich-",
  "01:28:04-Michael McCann-Ellsworth Prison: Timed Escape-Tom Clancy's Splinter Cell: Double Agent-",
  "01:29:51-Michael McCann-Okhotsk Ambient-Tom Clancy's Splinter Cell: Double Agent-",
  "01:35:39-Orbital-Go With the Flo (Edit)-Pusher-",
  "01:41:54-Daft Punk-Solar Sailer-Tron: Legacy-",
  "01:44:29-Ulrich Schnauss-I Take Comfort in Your Ignorance (Tycho Remix)-",
  "01:50:05-Paul Haslinger-Macmillan Utility-Halt and Catch Fire-",
  "01:51:41-Bluetech-Oleander (Phutureprimitive Symbiotic Remix)-",
  "01:58:44-H.U.V.A. Network-Something Heavens-"
].forEach((v, i, a) => {
  var strarr;
  var nxtstrarr;

  var ct = "00:00:00";
  var nt = "00:00:00";

  strarr = v.split("-");
  if (i + 1 < a.length) {
    nxtstrarr = a[i + 1].split("-");
    ct = strarr[0];
    nt = nxtstrarr[0];
  }

  arr.push({
    title: strarr[2],
    artists: strarr[1],
    album: strarr[3],
    duration: duraDiff(ct, nt)
  });
});

copy(arr);